package com.union.core.job.service;

import java.util.List;
import com.union.core.job.dao.impl.DailyJobAudiDaoImpl;
import com.union.core.job.model.DailyJobAudi;

public class DailyJobAudiService {
	private DailyJobAudiDaoImpl dailyJobAudiDaoImpl;
	public DailyJobAudiService(){
		dailyJobAudiDaoImpl=new DailyJobAudiDaoImpl();
	}
	public boolean addJobAudi(DailyJobAudi jobAudi){
		boolean result=false;
		result=dailyJobAudiDaoImpl.addJob(jobAudi);
		return result;
	}
	public List<DailyJobAudi> getJobAudiList(int jobId){
		List<DailyJobAudi> jobAudiList=dailyJobAudiDaoImpl.getJobList(jobId);
		return jobAudiList;
	}
}
